package com.guli.order.feign;
/*
 * @Author 罗俊
 * @date 2020/11/19 - 10:05 下午
 *
 */

import com.guli.common.utils.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@FeignClient("product-service")
public interface ProductFeignClient {

    @GetMapping("/pms/spuinfo/info/{id}")
    @ApiOperation("根据id获取SpuInfo")
    public R getSpuInfoBySpuId(@PathVariable("id") Long id);



}
